Optimal. Leaf size=684 \[ \frac {d \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^{1+n}}{16 b c^3 (1+n) \sqrt {1-c^2 x^2}}-\frac {i 2^{-7-n} d e^{-\frac {2 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,-\frac {2 i (a+b \text {ArcSin}(c x))}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}+\frac {i 2^{-7-n} d e^{\frac {2 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,\frac {2 i (a+b \text {ArcSin}(c x))}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}+\frac {i 2^{-7-2 n} d e^{-\frac {4 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,-\frac {4 i (a+b \text {ArcSin}(c x))}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}-\frac {i 2^{-7-2 n} d e^{\frac {4 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,\frac {4 i (a+b \text {ArcSin}(c x))}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}+\frac {i 2^{-7-n} 3^{-1-n} d e^{-\frac {6 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,-\frac {6 i (a+b \text {ArcSin}(c x))}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}-\frac {i 2^{-7-n} 3^{-1-n} d e^{\frac {6 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (1+n,\frac {6 i (a+b \text {ArcSin}(c x))}{b}\right )}{c^3 \sqrt {1-c^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.45, antiderivative size = 684, normalized size of antiderivative = 1.00, number of steps
used = 12, number of rules used = 4, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.138, Rules used = {4809, 4491,
3388, 2212} \begin {gather*} -\frac {i d 2^{-n-7} e^{-\frac {2 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (n+1,-\frac {2 i (a+b \text {ArcSin}(c x))}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}+\frac {i d 2^{-2 n-7} e^{-\frac {4 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (n+1,-\frac {4 i (a+b \text {ArcSin}(c x))}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}+\frac {i d 2^{-n-7} 3^{-n-1} e^{-\frac {6 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (n+1,-\frac {6 i (a+b \text {ArcSin}(c x))}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}+\frac {i d 2^{-n-7} e^{\frac {2 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (n+1,\frac {2 i (a+b \text {ArcSin}(c x))}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}-\frac {i d 2^{-2 n-7} e^{\frac {4 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (n+1,\frac {4 i (a+b \text {ArcSin}(c x))}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}-\frac {i d 2^{-n-7} 3^{-n-1} e^{\frac {6 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^{-n} \text {Gamma}\left (n+1,\frac {6 i (a+b \text {ArcSin}(c x))}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}+\frac {d \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^{n+1}}{16 b c^3 (n+1) \sqrt {1-c^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2212
Rule 3388
Rule 4491
Rule 4809
Rubi steps
\begin {align*} \int x^2 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^n \, dx &=\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \int x^2 \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^n \, dx}{\sqrt {1-c^2 x^2}}\\ &=\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int (a+b x)^n \cos ^4(x) \sin ^2(x) \, dx,x,\sin ^{-1}(c x)\right )}{c^3 \sqrt {1-c^2 x^2}}\\ &=\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \left (\frac {1}{16} (a+b x)^n+\frac {1}{32} (a+b x)^n \cos (2 x)-\frac {1}{16} (a+b x)^n \cos (4 x)-\frac {1}{32} (a+b x)^n \cos (6 x)\right ) \, dx,x,\sin ^{-1}(c x)\right )}{c^3 \sqrt {1-c^2 x^2}}\\ &=\frac {d \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^{1+n}}{16 b c^3 (1+n) \sqrt {1-c^2 x^2}}+\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int (a+b x)^n \cos (2 x) \, dx,x,\sin ^{-1}(c x)\right )}{32 c^3 \sqrt {1-c^2 x^2}}-\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int (a+b x)^n \cos (6 x) \, dx,x,\sin ^{-1}(c x)\right )}{32 c^3 \sqrt {1-c^2 x^2}}-\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int (a+b x)^n \cos (4 x) \, dx,x,\sin ^{-1}(c x)\right )}{16 c^3 \sqrt {1-c^2 x^2}}\\ &=\frac {d \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^{1+n}}{16 b c^3 (1+n) \sqrt {1-c^2 x^2}}+\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{-2 i x} (a+b x)^n \, dx,x,\sin ^{-1}(c x)\right )}{64 c^3 \sqrt {1-c^2 x^2}}+\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{2 i x} (a+b x)^n \, dx,x,\sin ^{-1}(c x)\right )}{64 c^3 \sqrt {1-c^2 x^2}}-\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{-6 i x} (a+b x)^n \, dx,x,\sin ^{-1}(c x)\right )}{64 c^3 \sqrt {1-c^2 x^2}}-\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{6 i x} (a+b x)^n \, dx,x,\sin ^{-1}(c x)\right )}{64 c^3 \sqrt {1-c^2 x^2}}-\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{-4 i x} (a+b x)^n \, dx,x,\sin ^{-1}(c x)\right )}{32 c^3 \sqrt {1-c^2 x^2}}-\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{4 i x} (a+b x)^n \, dx,x,\sin ^{-1}(c x)\right )}{32 c^3 \sqrt {1-c^2 x^2}}\\ &=\frac {d \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^{1+n}}{16 b c^3 (1+n) \sqrt {1-c^2 x^2}}-\frac {i 2^{-7-n} d e^{-\frac {2 i a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \left (-\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )^{-n} \Gamma \left (1+n,-\frac {2 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}+\frac {i 2^{-7-n} d e^{\frac {2 i a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \left (\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )^{-n} \Gamma \left (1+n,\frac {2 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}+\frac {i 2^{-7-2 n} d e^{-\frac {4 i a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \left (-\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )^{-n} \Gamma \left (1+n,-\frac {4 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}-\frac {i 2^{-7-2 n} d e^{\frac {4 i a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \left (\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )^{-n} \Gamma \left (1+n,\frac {4 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}+\frac {i 2^{-7-n} 3^{-1-n} d e^{-\frac {6 i a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \left (-\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )^{-n} \Gamma \left (1+n,-\frac {6 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}-\frac {i 2^{-7-n} 3^{-1-n} d e^{\frac {6 i a}{b}} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^n \left (\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )^{-n} \Gamma \left (1+n,\frac {6 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt {1-c^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.98, size = 436, normalized size = 0.64 \begin {gather*} \frac {d^2 \sqrt {1-c^2 x^2} (a+b \text {ArcSin}(c x))^n \left (\frac {24 (a+b \text {ArcSin}(c x))}{b+b n}+3 i 2^{-n} e^{-\frac {2 i a}{b}} \left (\frac {(a+b \text {ArcSin}(c x))^2}{b^2}\right )^{-n} \left (-\left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^n \text {Gamma}\left (1+n,-\frac {2 i (a+b \text {ArcSin}(c x))}{b}\right )+e^{\frac {4 i a}{b}} \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^n \text {Gamma}\left (1+n,\frac {2 i (a+b \text {ArcSin}(c x))}{b}\right )\right )+3 i 4^{-n} e^{-\frac {4 i a}{b}} \left (\frac {(a+b \text {ArcSin}(c x))^2}{b^2}\right )^{-n} \left (\left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^n \text {Gamma}\left (1+n,-\frac {4 i (a+b \text {ArcSin}(c x))}{b}\right )-e^{\frac {8 i a}{b}} \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^n \text {Gamma}\left (1+n,\frac {4 i (a+b \text {ArcSin}(c x))}{b}\right )\right )+i 6^{-n} e^{-\frac {6 i a}{b}} \left (\frac {(a+b \text {ArcSin}(c x))^2}{b^2}\right )^{-n} \left (\left (\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^n \text {Gamma}\left (1+n,-\frac {6 i (a+b \text {ArcSin}(c x))}{b}\right )-e^{\frac {12 i a}{b}} \left (-\frac {i (a+b \text {ArcSin}(c x))}{b}\right )^n \text {Gamma}\left (1+n,\frac {6 i (a+b \text {ArcSin}(c x))}{b}\right )\right )\right )}{384 c^3 \sqrt {d-c^2 d x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.44, size = 0, normalized size = 0.00 \[\int x^{2} \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}} \left (a +b \arcsin \left (c x \right )\right )^{n}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int x^2\,{\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}^n\,{\left (d-c^2\,d\,x^2\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________